<!--
  @author heguanghua
  @since 2019/06/12 19:34
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <th lay-data="{field:'borrower', width:190, unresize:true, align:'center'}">借阅人</th>
        <th lay-data="{field:'borrowerCompany', unresize:true, align:'center',width:180}">所在公司</th>
        <th lay-data="{field:'borrowerDeptOne', unresize:true, align:'center',width:180}">所在中心</th>
        <th lay-data="{field:'borrowerDeptTwo', unresize:true, align:'center',width:180}">所在部门</th>
        <th lay-data="{field:'borrowDay', unresize:true, align:'center',width:200}">借阅时间</th>
        <th lay-data="{field:'agent', unresize:true, align:'center'}">借阅原因</th>
        <th lay-data="{field:'secret', width:200, unresize:true, align:'center'}">借阅文件</th>
    </tr>
    </thead>

    <tbody>
    <tr th:each="item:${items}">
        <td th:text="${borrowerStaffMap[item.borrower].realName+borrowerStaffMap[item.borrower].mobile}">
        <td th:text="${item.borrowerCompanyName}">borrowerCompanyName</td>
        <td th:text="${item.borrowerDeptOneName}">borrowerDeptOneName</td>
        <td th:text="${item.borrowerDeptTwoName}">borrowerDeptTwoName</td>
        <td th:text="${T(com.zmn.common.utils.date.DateUtil).toString(item.borrowDay, 'yyyy-MM-dd')}">borrowDay</td>
        <td th:text="${item.borrowReason}">borrowReason</td>
        <td th:text="${item.borrowFile}">borrowFile</td>
    </tr>
    </tbody>
</table>
